Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add load_op_xpu for Baidu Kunlun #27817

Merged
merged 3 commits into from
Oct 12, 2020
Merged

add load_op_xpu for Baidu Kunlun #27817

merged 3 commits into from
Oct 12, 2020

Conversation

wanghuancoder
Copy link
Contributor

PR types

New features

PR changes

OPs

Describe

昆仑算子:load_op_xpu及其单测

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@pangyoki
Copy link
Contributor

LGTM

self.ones)))
exe = fluid.Executor(fluid.XPUPlace(0))
exe.run(start_prog)
fluid.io.save_persistables(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个目录 要不放在当前的目录,/tmp 这个写法 在window平台下会出错,虽然目前这个硬件不在windows工作

@phlrain phlrain merged commit 8fa4c09 into PaddlePaddle:develop Oct 12, 2020
chen-zhiyu pushed a commit to chen-zhiyu/Paddle that referenced this pull request Oct 15, 2020
* add load_op_xpu for Baidu Kunlun, test=kunlun

* add is_compiled_with_xpu for unit test, test=kunlun

* add is_compiled_with_xpu for unit test, test=kunlun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants